package dao.impl;


import model.custom.Customrelation;
import org.springframework.context.ApplicationContext;

import core.dao.impl.BaseDaoImpl;
import dao.CustomrelationDao;

public class CustomrelationDAOImpl extends BaseDaoImpl<Customrelation> implements CustomrelationDao  {
	public CustomrelationDAOImpl(){
		super(Customrelation.class);
	}

	public static CustomrelationDao getFromApplicationContext(ApplicationContext ctx) {
    	return (CustomrelationDao) ctx.getBean("customrelationDao");
	}
}